angular.module('myApp').service('BlacklistService', function($http,BaseUrl) {
    var service = {
        getBlacklist : function(pageNumber, pageSize) {
           return $http.post(BaseUrl+'/admin/blacklist/blacklist',
                {pageNumber: pageNumber, pageSize: pageSize});
        }

        }

        return service;
    })